<div class="content">
<div class="con">
  <form class="form" method="POST" >
    <div  >
      <label  >网站名称</label>
      <div class="layui-input-block input_text">
        <input type="text" name="name" required value="<?=$site['name']?>"   placeholder="请输入标题" autocomplete="off"  >
      </div>
    </div>
    <div  >
      <label  >域名</label>
      <div class="layui-input-block input_text">
        <input type="text" name="domain" required value="<?=$site['domain']?>"   placeholder="请输入标题" autocomplete="off"  >
      </div>
    </div>

    <div  >
      <label  >网站模板</label>
      <div class="layui-input-block input_text">
        <select name="template" >
          <option value="" >默认风格</option>
        <?foreach($templates as $t){?>
          <option value="<?=$t['uuid']?>"  <? $t['uuid']==$site['template']?"selected":""?> ><?=$t['name']?></option>
        <?}?>
        </select>
      </div>
    </div>

    <div  >
      <div  >
        <button class="layui-btn form_btn" lay-submit lay-filter="formDemo">立即提交</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
      </div>
    </div>
  </form>
</div>
</div>
